package homework;

public class Read07 {
    /*
    public void getCustomerInfo(){
        try {
            //do something that may cause an Exception
        }catch (java.io.FileNotFoundException ex){
            System.out.println("FileNotFoundException!");
        }catch (java.io.IOException ex){
            System.out.println("IOException!");
        }catch (java.lang.Exception ex){
            System.out.println("Exception!");
        }
    }
     */
    /*
    如果在该方法运行中产生了一个IOException，将会输出什么结果
    A、IOException!
    B、IOException!Exception!
    C、FileNotFoundException!IOException!
    D、FileNotFoundException!IOException!Exception!
     */

    //C
}
